A BlogFolder is a folder containing blog articles. It also has tags and categories which can be assigned to its articles


Properties

Name Returns Notes Example
title String The user friendly name of the blog
children List Return articles in this folder. This will be published articles only in a live site (ie not accessed on a versioned address) or all articles if accessed on a versioned address
parent CommonCollectionResource The collection resource containing this resource
name String The resource name
tags List All tags defined by this blog
categories List All categories (type String) defined in this blog
recentArticles ResourceList Returns the five most recent articles in this blog
websiteName String
blogSite Website
articles BlogsResourceList Gets all articles, optionally filtered by the 'tag' request variable. This may contain a comma seperated list of tag names to match
preferredTags List Get the list of preferred tags for the current user. If none have been selected return null
categoryCounts List Returns a list of categories with the number of articles in this blog for that category
The items (ItemCount) in the list have properties {item, count}
categoryCountsByCount List
tagCounts List Returns a list of tags with the number of articles in this blog for that tag The items (ItemCount) in the list have properties {item, count}
tagCountsByCount List
directoryNode DirectoryNode
subFolders List
files List
hash String
modifiedBy Profile
branch Branch
repository Repository
ownerProfile Profile
itemType String
domainName String
externalUrl String
branches List
homeTemplate String
articleTemplate String
paramNames List
website Website

Methods

Name Returns Notes Example
getArticles ( ignorePrefs ) BlogsResourceList
getArticles ( tags ) BlogsResourceList A list of articles in this blog. The list has additional methods for filtering and sorting
#set($bf = $folder.find("/blogs"))
 
Number of articles: $bf.articles.size()
getArticles ( tags, categories ) BlogsResourceList

Ask a question, or offer an answer